package com.xingu.xg.domain.dto;

import com.xingu.xg.domain.entity.TreeNode;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("树形结构")
public class TreeNodeDto extends TreeNode {

    private List<TreeNodeDto> children;
    private Boolean isLeaf;

}
